﻿// -------------------------------------------------------------------------
//    @FileName         :    NFOnlineRole.cpp
//    @Author           :    Gao.Yi
//    @Date             :    2025-08-26
//    @Email			:    445267987@qq.com
//    @Module           :    NFOnlineRole
//    @Desc             :
//
// -------------------------------------------------------------------------

#include "NFOnlineRole.h"

NFOnlineRole::NFOnlineRole()
{
    if (EN_OBJ_MODE_INIT == NFShmMgr::Instance()->GetCreateMode())
    {
        CreateInit();
    }
    else
    {
        ResumeInit();
    }
}

NFOnlineRole::~NFOnlineRole()
{
}

int NFOnlineRole::CreateInit()
{
    m_roleId = 0;
    m_logicSvrId = 0;
    m_zoneId = 0;
    m_uin = 0;
    return 0;
}

int NFOnlineRole::ResumeInit()
{
    return 0;
}

int NFOnlineRole::Init(int logicSvrId, const proto_ff::RoleOne& roleOne)
{
    m_logicSvrId = logicSvrId;
    return 0;
}
